import request from "@/utils/request";
import { ApiReturn } from "@/utils/request";


export class UsedService {

  static async list(params: any): ApiReturn<any> {
    return request.get('/goods', { params })
  }

  static async delete(id: number): ApiReturn<any> {
    return request.delete('/goods', { params: { id } })
  }

  static async info(id: number): ApiReturn<any> {
    return request.get(`/goodsInfo`, { params: { id } })
  }
}